import request from '@/sheep/request';

const noticeApi = {
	page: (params) => {
		return request({
			url: '/system/notice/page',
			method: 'GET',
			params
		});
	},
	get: (id) => {
		return request({
			url: '/system/notice/get?id=' + id,
			method: 'GET',
		});
	},
};

export default noticeApi;